import request from "@/request/index";

/**
 * 数据采集
 */
// 任务数成功率
export function GETtaskSuccessRate(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/taskSuccessRate",
    params,
  });
}

// 采集任务正在运行数 采集任务等待运行数 采集任务成功数
export function GETtaskStatus(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/taskStatus",
    params,
  });
}

// 采集任务失败数
export function GETtaskFailCount(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/taskFailCount",
    params,
  });
}

// 采集任务数
export function GETfirstBusinessCount(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/taskCount",
    params,
  });
}

// 轻度汇总层表数量
export function GETfieldCount(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/tablesCount",
    params,
  });
}

// 轻度汇总层表数量Mx
export function GETcount(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/tablesCountMx",
    params,
  });
}

// 轻度汇总层表记录数
export function GETbusinessCount(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/tableSum",
    params,
  });
}

//轻度汇总层表记录数Mx
export function GETlistDwSuppObject(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/tableSumMx",
    params,
  });
}

// T+1采集任务数
export function GETlistDwSuppObjectType(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/t1TaskCount",
    params,
  });
}

// 结构化数据存储量
export function GETlstructuredDataStorage(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/structuredDataStorage",
    params,
  });
}

// 非结构化数据存储量
export function GETunStructuredDataStorage(params) {
  return request({
    url: "/zjjscApi/digitalAssets/unStructuredDataStorage",
    params,
  });
}
// 半结构化数据存储量
export function semiStructuredDataStorage(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/semiStructuredDataStorage",
    params,
  });
}

// 贴源层到标准层的任务数
export function GETlistDwSuppObjectTypeNameListMx(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/sourceToStandardTaskCount",
    params,
  });
}
// 贴源层表记录数
export function GETdataQualityRuleCount_1(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/sourceLayerTableRecord",
    params,
  });
}
// 贴源层表记录数
export function GETsourceLayerTableRecord(params) {
  return request({
    url: "/zjjscApi/digitalAssets/sourceLayerTableRecord",
    params,
  });
}

// 贴源层表数量 生命周期弹窗//
export function GETtycbCount(params) {
  return request({
    url: "/zjjscApi/digitalAssets/tycbCount",
    params,
  });
}

// 贴源层表数量//
export function GETsourceLayerTableCount(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/sourceLayerTableCount",
    params,
  });
}
//贴源层表明细//
export function GETsourceLayerTableCountMx(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/sourceLayerTableCountMx",
    params,
  });
}

//实时采集任务数
export function GETrealTimeTaskCount(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/realTimeTaskCount",
    params,
  });
}

//质量检查任务数
export function GETqualityCheckTaskCount(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/qualityCheckTaskCount",
    params,
  });
}

//质量检查任务运行数
export function GETqualityCheckTaskRunCount(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/qualityCheckTaskRunCount",
    params,
  });
}

//质量检查任务等待运行数
export function GETqualityCheckTaskWaitCount(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/qualityCheckTaskWaitCount",
    params,
  });
}

//质量检查任务成功数
export function GETqualityCheckTaskSuccessCount(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/qualityCheckTaskSuccessCount",
    params,
  });
}

//质量检查任务失败数
export function GETqualityCheckTaskFailCount(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/qualityCheckTaskFailCount",
    params,
  });
}

// /质量检查任务数明细
export function GETqualityCheckTaskCountMx(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/qualityCheckTaskCountMx",
    params,
  });
}

//轻度汇总层生成接口数 轻度汇总层生成接口表数量
export function GETmeasureValue(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/measureValue",
    params,
  });
}

// 标准层到轻度汇总层任务数等5个相关指标

export function GETmeasureValueMK1216151413(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/measureValueMK1216151413",
    params,
  });
}

//标准层生成接口数量
export function GETmeasureValueMK0701026(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/measureValueMK0701026",
    params,
  });
}

//标准层用于生成接口表数量

export function GETmeasureValueMK0701018(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/measureValueMK0701018",
    params,
  });
}
//接口支撑典型应用数

export function GETmeasureValueMK0502009(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/measureValueMK0502009",
    params,
  });
}

//接口支撑应用数 接口调用量
export function GETmeasureValueMK0502008(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/measureValueMK0502008",
    params,
  });
}

//调用单位数 接口调用量 / zjjscApi/api/fulllifecircle/measureValueMK0502007
export function GETmeasureValueMK0502007(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/measureValueMK0502007",
    params,
  });
}

//接口调用量
///zjjscApi/api/fulllifecircle/measureValueMK0502002
export function GETmeasureValueMK0502002(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/measureValueMK0502002",
    params,
  });
}

//贴源层到IRS记录数 标准层到IRS记录数 轻度汇总层到IRS记录数 贴源层到IRS表数量 标准层到IRS表数量 轻度汇总层到IRS表数量
export function GETmeasureValue313335(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/measureValue313335",
    params,
  });
}

//数据质量合格率明细
export function GETlistDataQualityMetrics(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/listDataQualityMetrics",
    params,
  });
}

//IRS编目归集率
export function GETirsGjRate(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/irsGjRate",
    params,
  });
}

//接口调用总次数
export function GETinterfaceCallCount(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/interfaceCallCount",
    params,
  });
}

//标准层表记录数

export function GETdwTablesCount(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/dwTablesCount",
    params,
  });
}

//标准层表记录数明细

export function GETdwTablesCountMx(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/dwTablesCountMx",
    params,
  });
}

//标准层表数量
export function GETdwTablesCountEtlDwm(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/dwTablesCountEtlDwm",
    params,
  });
}
//标准层表数量标准层表数量明细
export function GETdwTablesCountEtlDwmMx(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/dwTablesCountEtlDwmMx",
    params,
  });
}

//热门接口排行
export function GETdwSuppObjectName(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/dwSuppObjectName",
    params,
  });
}

//数据工单处理及时率
export function GETdataWorkOrderRate(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/dataWorkOrderRate",
    params,
  });
}
//数据总条数
export function GETdataTotalCount(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/dataTotalCount",
    params,
  });
}
//数据总条数明细
export function GETdataTotalCountMx(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/dataTotalCountMx",
    params,
  });
}

//数据质量规则数
export function GETdataQualityRuleCount(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/dataQualityRuleCount",
    params,
  });
}
//数据质量规则数排名
export function GETdataQualityRuleCountRank(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/dataQualityRuleCountRank",
    params,
  });
}
//数据质量规则数排名明细
export function GETdataQualityRuleCountRankMx(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/dataQualityRuleCountRank",
    params,
  });
}
//数据质量规则数明细
export function GETdataQualityRuleCountMx(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/dataQualityRuleCountMx",
    params,
  });
}
//数据采集率
export function GETdataCollectionRate(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/dataCollectionRate",
    params,
  });
}
//数据目录数
export function GETdataCatalogCount(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/dataCatalogCount",
    params,
  });
}

//数据目录数明细
export function GETdataCatalogCountMx(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/dataCatalogCountMx",
    params,
  });
}

//指标数
export function GETcountIIndicatorType(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/countIIndicatorType",
    params,
  });
}

//标准层主数据记录数

export function GETcountEtlDwsTable(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/countEtlDwsTable",
    params,
  });
}

// /标准层主数据表数量
export function GETcountEtlDwmTable(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/countEtlDwmTable",
    params,
  });
}

// 标准层主数据表字段数
export function GETcolumnsCount(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/columnsCount",
    params,
  });
}

// 业务指标数
export function GETbusinessIndicatorCount(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/businessIndicatorCount",
    params,
  });
}

/**
 * 数据质量
 */
// 一致性校验字段数量
export function GETcountDataQualityMetricsDistinct(params) {
  return request({
    url: "/zjjscApi/api/dataQuality/countDataQualityMetricsDistinct",
    params,
  });
}

// 一致性校验字段数量明细
export function GETcountDataQualityMetricsDistinctMx(params) {
  return request({
    url: "/zjjscApi/api/dataQuality/countDataQualityMetricsDistinctMx",
    params,
  });
}

// 一致性校验记录数
export function GETcountDataQualityMetrics(params) {
  return request({
    url: "/zjjscApi/api/dataQuality/countDataQualityMetrics",
    params,
  });
}

// 数据不一致表数量
export function GETcountDataQualityMetricsDistinctTableName(params) {
  return request({
    url: "/zjjscApi/api/dataQuality/countDataQualityMetricsDistinctTableName",
    params,
  });
}

// 数据不一致字段数量
export function GETcountDataQualityMetricsDistinctColumnName(params) {
  return request({
    url: "/zjjscApi/api/dataQuality/countDataQualityMetricsDistinctColumnName",
    params,
  });
}


// 质量检查任务数明细
export function GETlistDwSuppObject1(params) {
  return request({
    url: "/zjjscApi/api/dataQuality/listDwSuppObjectTypeTwo",
    params,
  });
}

// 数据合格率明细
export function GETlistDwSuppObjectType1(params) {
  return request({
    url: "/zjjscApi/api/dataQuality/listDwSuppObjectType",
    params,
  });
}
export function GETlistDwSuppObjectType2(params) {
  return request({
    url: "/zjjscApi/api/dataQuality/listDwSuppObjectTypeMx",
    params,
  });
}
/**
 * 数据共享开放
 */

//实时接口数
export function GETrealInterfaceCount(params) {
  return request({
    url: "/zjjscApi/api/openDataSharing/realInterfaceCount",
    params,
  });
}

// 数据总条数
export function GETentriesTotal(params) {
  return request({
    url: "/zjjscApi/dataTable/entriesTotal",
    params,
  });
}

//数据处理任务总数
export function GETmeasureValueMK1(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/measureValueMK07010001",
    params,
  });
}

/*生命周期*/
// 数据标准检验任务数
export function GETmeasureValueMK0105(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/measureValueMK0105",
    params,
  });
}

// 日增数据条数
export function GETentriesNumDay(params) {
  return request({
    url: "/zjjscApi/dataTable/entriesNumDay",
    params,
  });
}

//接口总数
export function GETcountBaseApiInfo(params) {
  return request({
    url: "/zjjscApi/api/openDataSharing/countBaseApiInfo",
    params,
  });
}

// 月增数据条数
export function GETentriesNumMonth(params) {
  return request({
    url: "/zjjscApi/dataTable/entriesNumMonth",
    params,
  });
}

//数据处理正在执行数
export function GETmeasureValueMK2(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/measureValueMK0701002",
    params,
  });
}
// 数据标准检验任务失败数
export function GETmeasureValueMK01055(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/measureValueMK01055",
    params,
  });
}

// 数据目录数二级汇总TWO处室
export function GETgetdirectoriesNumberTwoRoom(params) {
  return request({
    url: "/zjjscApi/dataTable/getdirectoriesNumberTwoRoom",
    params,
  });
}
// 数据目录数二级汇总TWO处室
export function entriesNumTwoRoom(params) {
  return request({
    url: "/zjjscApi/dataTable/entriesNumTwoRoom",
    params,
  });
}
// 数据目录数二级汇总TWO处室
export function entriesNumTwo(params) {
  return request({
    url: "/zjjscApi/dataTable/entriesNumTwo",
    params,
  });
}

//接口订阅数量
export function GETcountBaseApiInfoAudit(params) {
  return request({
    url: "/zjjscApi/api/openDataSharing/countBaseApiInfoAudit",
    params,
  });
}

// 数据目录数二级汇总TWO月份
export function GETgetdirectoriesNumberTwo(params) {
  return request({
    url: "/zjjscApi/dataTable/getdirectoriesNumberTwo",
    params,
  });
}

//数据处理等待运行数
export function GETmeasureValueMK3(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/measureValueMK0701003",
    params,
  });
}

//数据处理运行成功数
export function GETmeasureValueMK4(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/measureValueMK0701004",
    params,
  });
}
//数据处理运行失败数
export function GETmeasureValueMK5(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/measureValueMK0701005",
    params,
  });
}
// 数据标准检验任务成功数
export function GETmeasureValueMK01054(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/measureValueMK01054",
    params,
  });
}

//接口调用成功率
export function GETbaseApiLogSuccessDecimal(params) {
  return request({
    url: "/zjjscApi/api/openDataSharing/baseApiLogSuccessDecimal",
    params,
  });
}

// 数据标准检验任务等待运行数
export function GETmeasureValueMK01053(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/measureValueMK01053",
    params,
  });
}

//接口调用失败率
export function GETbaseApiLogNotSuccessDecimal(params) {
  return request({
    url: "/zjjscApi/api/openDataSharing/baseApiLogNotSuccessDecimal",
    params,
  });
}

//接口支撑应用数
export function GETmeasureValueMK05020081(params) {
  return request({
    url: "/zjjscApi/api/openDataSharing/measureValueMK0502008",
    params,
  });
}

//接口支撑典型应用数
export function GETmeasureValueMK05020091(params) {
  return request({
    url: "/zjjscApi/api/openDataSharing/measureValueMK0502009",
    params,
  });
}

//热门接口排行
export function GETlistDwSuppObjectTypeName(params) {
  return request({
    url: "/zjjscApi/api/openDataSharing/listDwSuppObjectTypeName",
    params,
  });
}

// 数据标准检验任务运行数
export function GETmeasureValueMK01052(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/measureValueMK01052",
    params,
  });
}

// 无数据更新系统数二级汇总
export function GETentriesNumNoneTwo(params) {
  return request({
    url: "/zjjscApi/dataTable/entriesNumNoneTwo",
    params,
  });
}
// 接口调用量二级汇总
export function countBaseApiLogTwo(params) {
  return request({
    url: "/zjjscApi/api/openDataSharing/countBaseApiLogTwo",
    params,
  });
}
// 接口订阅量二级汇总
export function countBaseApiInfoAuditTwo(params) {
  return request({
    url: "/zjjscApi/api/openDataSharing/countBaseApiInfoAuditTwo",
    params,
  });
}

// IRS编目数
export function GETirsCount(params) {
  return request({
    url: "/zjjscApi/dataTable/irsCount",
    params,
  });
}

// IRS归集数
export function GETirsGjCount(params) {
  return request({
    url: "/zjjscApi/dataTable/irsGjCount",
    params,
  });
}

//应用系统数

export function GETdataResourceCount(params) {
  return request({
    url: "/zjjscApi/api/fulllifecircle/dataResourceCount",
    params,
  });
}

